<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <script>
        var a = 10; b = 5, c = 20, d = 30;
        console.log(a > b & a > 11); // t&f：f
        console.log(a < b | a > 11); // f|f：f
        console.log(a > b | a > 11); // t|f：t
        console.log(a > b && a > 11 && c > 11); // t&&f&&不需要：f
        console.log(a < b && a > 11); // f&&不需要：f
        console.log(a > b ^ a < 11); // t^t：f
        console.log(a < b ^ a > 11); // f^f：f
    </script>
</body>
</html>